var license = {
	init : function(){
		
		$("#exportLicenseFile").live("click", function(e) {
			var $target = $(e.target);
			
			var id = $target.attr("licenseId");
			
			license.doExportCsv(id);
		});
		
	},
	
	doExportCsv : function(id){
		
		window.location.href = "/smartpush_license/license/download?id="+id;
	}
};

$(function() {
	license.init();
});